package com.douziit.meilianoa.base.redis;

/**
 * 存储在redis中的key前缀
 *
 * @author MrShun
 * @version 1.0
 * @Date 2017/11/13
 */
public class RedisConstant {

    /**
     * 用户token管理
     */
    public static final String USER_TOKEN_MANAGE = "AssistiveUserToken:";

    /**
     * 项目端存储用户的token信息
     */
    public static final String USER_TOKEN_REDIS_PREFIX = "AssistiveUserToken:";

    /**
     * 项目端用户ID
     */
    public static final String USER_ID_REDIS_PREFIX = "AssistiveUserId:";

    /**
     * app端存储用户的token信息
     */
    public static final String APP_USER_TOKEN_REDIS_PREFIX = "AppAssistiveUserToken:";

    /**
     * app端用户ID
     */
    public static final String APP_USER_ID_REDIS_PREFIX = "AppAssistiveUserId:";



    /**
     * 设备类型ID
     */
    public static final String DEVICE_TYPE_ID_PREFIX = "TypeId:";

    /**
     * 设备型号ID
     */
    public static final String DEVICE_MODEL_ID_PREFIX = "ModelId:";

    /**
     * 数据位ID
     */
    public static final String DEVICE_DATA_BIT_ID_PREFIX = "DataBitGroupId:";

    /**
     * 状态位ID
     */
    public static final String DEVICE_DATA_STATUS_ID_PREFIX = "DataStatusGroupId:";

    /**
     * 报警位ID
     */
    public static final String DEVICE_DATA_ALARM_ID_PREFIX = "DataAlarmGroupId:";

    /**
     * 参数项ID
     */
    public static final String DEVICE_DATA_PARAM_ID_PREFIX = "DataParamGroupId:";

    /**
     * 指令项ID
     */
    public static final String DEVICE_DATA_INSTRUCTIONS_ID_PREFIX = "DataInstructionsGroupId:";

    /**
     * 用户设备key
     */
    public static final String AUTH_DEVICE_USER_PREFIX = "AuthDeviceUserId:";




}
